package com.competition.vod;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  //(exclude = DataSourceAutoConfiguration.class)默认不加载数据库配置
@ComponentScan(basePackages = {"com.competition"})  // 组件扫描，Springboot默认从外包扫描里面,设置包的（启动类的）扫描规则
public class VodApplication {

    public static void main(String[]  args){
        SpringApplication.run(VodApplication.class,args);
    }
}
